package edu.polsl.bio.str.common.api;

import edu.polsl.bio.str.common.exception.ManagerException;

/**
 * //todo class description
 * <p/>
 * Created on: Jun 12, 2011 8:57:57 PM <br/>
 * <a href="http://www.polsl.pl">www.polsl.pl</a>
 *
 * @author lukasz.olczak@polsl.pl
 */
public interface NodeManagementService {

  long attachNode(String nodeIp, int noTokens) throws ManagerException;

  void detachNode(long nodeId) throws ManagerException;

  void heartBeat(long nodeId) throws ManagerException;

}
